package com.lipy.microweb.controller;

import com.lipy.microweb.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

/**
 * @description:
 * @author: lipy
 * @create: 2020-06-15 22:17
 **/

@RequestMapping("/order")
@RestController
public class OrderController {

    @Autowired
    OrderService orderService;

    @RequestMapping("queryOrder")
    public String queryOrder(){
        return orderService.queryOrderById("123");
    }
}
